import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/home/Home'
import Search from '@/pages/search/Search'
import Nav from '@/pages/classification/Nav'
import Login from '@/pages/login/Login'
import Sms from '@/pages/sms/Sms'
import Details from '@/pages/details/Details'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/search',
      name: 'Search',
      component: Search
    },
    {
      path: '/classification',
      name: 'Nav',
      component: Nav
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/sms',
      name: 'Sms',
      component: Sms
    },
    {
      path: '/details',
      name: 'Details',
      component: Details
    }
  ]
})
